<!DOCTYPE html>
<html lang="zh-CN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <script type="text/javascript" src="../../scripts/jquery/jquery-1.7.1.js"></script>
    <link href="../../style/authority/basic_layout.css" rel="stylesheet" type="text/css">
    <link href="../../style/authority/common_style.css" rel="stylesheet" type="text/css">
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script type="text/javascript" src="../../scripts/authority/commonAll.js"></script>
    <script type="text/javascript" src="../../scripts/fancybox/jquery.fancybox-1.3.4.js"></script>
    <script type="text/javascript" src="../../scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="../../style/authority/jquery.fancybox-1.3.4.css" media="screen"></link>
    <script type="text/javascript" src="../../scripts/artDialog/artDialog.js?skin=default"></script>
    <title>个人信息管理系统</title>
    <script type="text/javascript">

        function Response_Question() {
            var name = document.getElementById("ask_user").value;
            var title = document.getElementById("question_title").value;
            var content = document.getElementById("question_content").value;
            var questiontype = document.getElementById("question_type").value;
            var version = document.getElementById("question_version").value;
            if (name == "" || title == "" || content == "" || questiontype == "" || version == "") {
                alert("信息不能为空!");
                return;
            }
            $.ajax({
                url: "/Question/AddQuestion", //处理页面的路径
                data: {name: name, title: title, content: content, questiontype: questiontype, version: version},//要提交的数据是一个JSON
                type: "POST", //提交方式
                async: false,
                success: function (data) { //回调函数 ,成功时返回的数据存在形参data里
                    alert(data);
                }
            });

        }

    </script>
    <style>
        .alt td {
            background: black !important;
        }

        .Question {
            width: 100%;
            height: 100%;

        }
    </style>
</head>
<body onload="getDate01()">
<div id="container">
    <div class="ui_content">
        <div class="ui_text_indent">
            <div id="box_border">
                <div id="box_top">问题反馈</div>
                <div id="box_bottom">
                    <form>
                        <table id="usertable" class="table" cellspacing="0" cellpadding="0" width="50%" align="center"
                               border="0">
                            <tr>
                                <td>反馈人:</td>
                                <td><input type="text" name="ask_user" id="ask_user" class="Question"></td>
                            </tr>

                            <tr>
                                <td>反馈类型:</td>
                                <td><select id="question_type" name="question_type" class="Question"
                                            style="text-align: center">
                                    <option value="Web">Web</option>
                                    <option value="Pc">PC</option>
                                    <option value="iMac">iMac</option>
                                    <option value="Android">Android</option>
                                    <option value="iPhone">iPhone</option>
                                    <option value="iPad">iPad</option>
                                    <option value="CRM">CRM</option>
                                    <option value="H5">H5</option>
                                    <option value="outlook插件">outlook插件</option>
                                    <option value="微信">微信</option>
                                    <option value="亿赛通">亿赛通</option>
                                </select></td>
                            </tr>

                            <tr>
                                <td>反馈版本:</td>
                                <td><input type="text" name="question_version" id="question_version" class="Question">
                                </td>
                            </tr>

                            <tr>
                                <td>反馈主题:</td>
                                <td><input type="text" name="question_title" id="question_title" class="Question"></td>
                            </tr>
                            <tr>
                                <td>反馈内容:</td>
                                <td><textarea id="question_content" name="question_content"
                                              style="width: 100%;height: 300px;resize:none"></textarea></td>
                            </tr>

                            <tr>
                                <td></td>
                                <td>
                                    <button class="ui_input_btn01" onclick="Response_Question()">提交</button>
                                </td>
                            </tr>

                        </table>
                    </form>
                </div>
            </div>

        </div>
    </div>
    <div class="ui_tb">
    </div>
    <div class="ui_content">
        <div class="ui_tb_h30">
            <div class="ui_flt" style="height: 30px; line-height: 30px;">

            </div>
            <div class="ui_frt">

            </div>
        </div>
    </div>
</div>
</body>
</html>
